using System;
using System.Runtime.Serialization;

namespace iPhOwa.Exchange.Exceptions
{
	/// <summary>
	/// Occurrs when an unsupported content class is encountered.
	/// </summary>
	[Serializable]
	public class UnsupportedContentClassException : Exception
	{
		/// <summary>
		/// Contstructor.
		/// </summary>
		public UnsupportedContentClassException() {}

		/// <summary>
		/// Constructor.
		/// </summary>
		public UnsupportedContentClassException(string message, Exception innerException) : base(message, innerException) {}

		/// <summary>
		/// Constructor.
		/// </summary>
		public UnsupportedContentClassException(string message) : base(message) {}

		/// <summary>
		/// Constructor.
		/// </summary>
		protected UnsupportedContentClassException(SerializationInfo info, StreamingContext context) : base(info, context) {}
	}
}